package com.xiyu.service.vo.market.setting.baseVO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import jakarta.validation.constraints.*;

import static com.xiyu.service.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 营销发件人设置 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class MarketSettingSenderBase {

    @Schema(description = "发件人地址")
    @Size(max = 50, message = "发件人地址长度不能超过50")
    private String senderAddress;

    @Schema(description = "发件人姓名")
    @Size(max = 50, message = "发件人姓名长度不能超过50")
    private String senderName;

    @Schema(description = "回复人ID")
    private Long replyId;

    @Schema(description = "域名ID")
    private Long domainId;

    @Schema(description = "所属人ID")
    private Long ownerId;

}
